package com.sun.androidexerciseproject.function.util;

import java.net.MalformedURLException;
import java.net.URL;

/**
 * Created by Administrator on 2017/6/23.
 */

public class HttpUtil {
    private URL mUrl;

    public HttpUtil(String str) {
        try {
            mUrl = new URL(str);
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
    }

    public URL getUrl() {
        return mUrl;
    }
}
